package com.liyunc.op.mem.synch.service;


import com.liyunc.op.mem.synch.dto.request.UserInfoCreationParam;
import com.liyunc.op.mem.synch.dto.request.UserInfoSearchParam;
import com.liyunc.op.mem.synch.dto.request.UserInfoUpdateParam;
import com.liyunc.op.mem.synch.dto.response.UserInfoVo;
import com.liyunc.op.mem.synch.dto.rest.PageParam;
import org.springframework.data.domain.Page;

/**
 * @author liyuncong
 * @version 1.0
 * @file UserInfoService
 * @brief UserInfoService
 * @details UserInfoService
 * @date 2023-04-14
 *
 * Edit History
 * ----------------------------------------------------------------------------
 * DATE                        NAME               DESCRIPTION
 * 2023-04-14                  liyuncong          Created
 */
public interface UserInfoService {

    Page<UserInfoVo> search(PageParam pageParam, UserInfoSearchParam searchParam);

    Boolean create(UserInfoCreationParam creationParam);

    Boolean update(UserInfoUpdateParam updateParam);

    Boolean delete(Long userId);

    UserInfoVo queryById(Long userId);
}
